﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KWT.DRG_DIP.PO.Basic
{
    /// <summary>
    /// 系统RefreshToken
    /// </summary>
    public class Sys_RefreshToken
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public string TokenID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>

        public string UserID { get; set; }
        /// <summary>
        /// token值
        /// </summary>

        public string Token { get; set; }
        /// <summary>
        /// acess_token
        /// </summary>

        public string Access_Token { get; set; }
        /// <summary>
        /// 是否已使用
        /// </summary>
        public bool Is_Used { get; set; }
        /// <summary>
        /// 是否已回收
        /// </summary>
        public bool Is_Revorked { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime Add_Date { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime Exp_Date { get; set; }
    }
}
